Elementor\Modules\ImageLoadingOptimization\Module S

Total Complexity 48
Dependencies 1
Dependents 0
Total lines 369
Lines of code 174
Logical lines of code 89
Comment lines 139
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
get_loading_optimization_attributes()
A
43 14 51
add_loading_optimization_attrs()
A
51 9 24
maybe_add_fetchpriority_high_attr()
S
55 7 20
flush_header_buffer()
S
64 4 9
get_experimental_data()
S
59 1 15
stop_core_fetchpriority_high_logic()
S
74 2 5
loading_optimization_image()
S
67 2 8
high_priority_element_flag()
S
69 2 7
get_name()
S
82 1 3
__construct()
S
64 1 9
set_buffer()
S
79 1 3
handle_buffer_content()
S
80 1 3
filter_images()
S
67 1 9
get_min_priority_img_pixels()
S
79 1 3
increase_content_media_count()
S
74 1 5